package com.chinasofti.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.stereotype.Component;

@Component//只有在容器中的组件，springboot才会提供强大的功能
@Data//set get 方法
@AllArgsConstructor//全参
@NoArgsConstructor//无参
@ToString
public class Car {
    private String brand;
    private Integer price;

}
